package de.chessgame.src;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;

public class ModelChessBoard extends ModelBase
{
  //fields
    ModelRenderer table;
  
  public ModelChessBoard()
  {
    textureWidth = 128;
    textureHeight = 64;
    
      table = new ModelRenderer(this, 0, 0);
      table.addBox(0F, 0F, 0F, 32, 1, 32);
      table.setRotationPoint(-16F, 23F, -16F);
      table.setTextureSize(128, 64);
      table.mirror = false;
      setRotation(table, 0F, 0F, 0F);
  }
  
  public void render(float f4)
  {
    table.render(f4);
  }
  
  private void setRotation(ModelRenderer model, float x, float y, float z)
  {
    model.rotateAngleX = x;
    model.rotateAngleY = y;
    model.rotateAngleZ = z;
  }

}
